<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<jsp:useBean id="projectbean" type="dtt.ProjectBean" scope="request" />


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'Content_template.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="styles.css">
	
  <script type="text/javascript">

  function validateForm(){
  if(window.defectform.projectId.value == ''){
  alert('Please enter a valid project number');
  return false;	
  }
  }//end function
  </script>
  </head>
  
  <body>
  <form id="adddefectform" action="servlet/FrontController" method="post">
  <input  type="hidden" name="DTT_ACTION" value="ADD_TEAMMEMBER">
  <br>
    <table border="0" align="center" width="85%"  >
      <tr>
       <td><b>User Name<br></b></td>
      <td><b>Password</b></td>
      <td><b>Email</b><br></td>
       </tr>
      <tr>
      <td>
      <input  type="text" name="userName" value="">
      </td>
      <td>
      <input  type="text" name="userPassword" value="" >
      </td>
      <td>
      <input type="text" name="userEmail" value="" >
      </td>
      </tr>
      <tr>
      <td>Tel <br></td>
      <td>Address
      </td>
      <td>Comments(info)
      </td>
      </tr>
      
      <tr>
      <td>
         <input  type="text" name="userTel" value="">
      </td>
      <td>
         <input  type="text" name="userAddress" value="">
      </td>
      <td>
         <input  type="text" name="userInfo" value="">
      </td>
      </tr>
      
    </table>
  	 
  	 <br>
  	 <center>
  	 <table cellspacing="2" cellpadding="2">  
       <tr>
       <td><input type="Submit" name="submit" value="Add Team Member" onclick="return validateForm()"></td>
       <td width="20%"> </td>
      <td><input type="Submit" name="cancel" value="CANCEL" onclick="window.adddefectform.DTT_ACTION.value='DEFECT_LIST'"></td>
       
      
       </tr>
  	
  	 </table>
  	 </center>
  	  </form>
  </body>
</html>
	